<?php
class AuthAssignment extends CActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return CActiveRecord the static model class
	 */
	public static function model($className=__CLASS__)
	{
		return parent::model($className);
	}

	/**
	 * @return string the associated database table name
	 */
	public function tableName()
	{
		return 'AuthAssignment';
	}
	
	public function relations()
	{
		$relations = array(
		//	'roles' => array(self::HAS_ONE, 'User', 'userid')//create new property roles
		);
		return $relations;
	}
}